package org.appfuse.model;

import java.sql.Date;


/**
 * @struts.form include-all="true" extends="org.appfuse.webapp.form.BaseForm"
 * @hibernate.class table="jcxx"
 */

public class Jcxx extends org.appfuse.model.BaseObject implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = -7378458420178802221L;
	private Integer id;
	private BasicInfo basicInfo;
     private String jclb;
     private String jcmc;
     private Date pzrq;
     private String pzjg;
     private String jcyy;
     private String a00;
     private String pzjgmcbc;
     private String pzjgjb;


    // Constructors

    public String getPzjgjb() {
		return pzjgjb;
	}

	public void setPzjgjb(String pzjgjb) {
		this.pzjgjb = pzjgjb;
	}

	public String getPzjgmcbc() {
		return pzjgmcbc;
	}

	public void setPzjgmcbc(String pzjgmcbc) {
		this.pzjgmcbc = pzjgmcbc;
	}

	public String getA00() {
		return a00;
	}

	public void setA00(String a00) {
		this.a00 = a00;
	}

	/** default constructor */
    public Jcxx() {
    }

    /** full constructor */
    public Jcxx(String jclb, String jcmc, Date pzrq, String pzjg, String jcyy) {
        this.jclb = jclb;
        this.jcmc = jcmc;
        this.pzrq = pzrq;
        this.pzjg = pzjg;
        this.jcyy = jcyy;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public BasicInfo getBasicInfo() {
		return basicInfo;
	}

	public void setBasicInfo(BasicInfo basicInfo) {
		this.basicInfo = basicInfo;
		this.a00 = basicInfo.getId();
	}

	public String getJclb() {
        return this.jclb;
    }
    
    public void setJclb(String jclb) {
        this.jclb = jclb;
    }

    public String getJcmc() {
        return this.jcmc;
    }
    
    public void setJcmc(String jcmc) {
        this.jcmc = jcmc;
    }

    public Date getPzrq() {
        return this.pzrq;
    }
    
    public void setPzrq(Date pzrq) {
        this.pzrq = pzrq;
    }

    public String getPzjg() {
        return this.pzjg;
    }
    
    public void setPzjg(String pzjg) {
        this.pzjg = pzjg;
    }

    public String getJcyy() {
        return this.jcyy;
    }
    
    public void setJcyy(String jcyy) {
        this.jcyy = jcyy;
    }

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int hashCode() {
		final int PRIME = 31;
		int result = 1;
		result = PRIME * result + ((a00 == null) ? 0 : a00.hashCode());
		result = PRIME * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final Jcxx other = (Jcxx) obj;
		if (a00 == null) {
			if (other.a00 != null)
				return false;
		} else if (!a00.equals(other.a00))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
   








}